Skip to content

Fix snap EGL vendor dirs to include host NVIDIA ICD paths - #11209

Merged
kenvandine merged 1 commit into
ghostty-org:mainfrom
04cb:fix/snap-egl-nvidia-vendor-dirs
Mar 7, 2026
Merged

kenvandine merged 1 commit into
ghostty-org:mainfrom
04cb:fix/snap-egl-nvidia-vendor-dirs

Conversation

@04cb

@04cb 04cb commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #10760. The snap launcher script was overriding the default system EGL vendor directories, preventing NVIDIA's proprietary EGL driver from being discovered. This caused crashes for users with NVIDIA GPUs on snap systems.

The fix adds the standard host system paths (/etc/glvnd/egl_vendor.d and /usr/share/glvnd/egl_vendor.d) to __EGL_VENDOR_LIBRARY_DIRS before the snap-internal path. This is safe for classic confinement snaps since the host filesystem is fully accessible.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Snap: launcher script overrides __EGL_VENDOR_LIBRARY_DIRS, excluding host NVIDIA EGL vendor ICD

4 participants